//
//  GGTestTableViewCell.m
//  tantan
//
//  Created by SQHH on 2017/12/20.
//  Copyright © 2017年 SQHH. All rights reserved.
//

#import "GGTestTableViewCell.h"

@interface GGTestTableViewCell ()

/// gerqg
@property (nonatomic, strong) UIPageControl *rgerg;

/// geqra
@property (nonatomic, strong) UIActivityIndicatorView *gergre;

@end

@implementation GGTestTableViewCell

#pragma mark - # Event Response
- (void)rgergValueChanged:(UIPageControl *)sender {
	
}

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
	if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
		[self.contentView addSubview:self.rgerg];
		[self.contentView addSubview:self.gergre];
	}
	return self;
}

#pragma mark - # Getter
- (UIPageControl *)rgerg {
	if (!_rgerg) {
		_rgerg = [[UIPageControl alloc] init];
		[_rgerg setFrame:CGRectMake(10, 0, 0, 0)];
		[_rgerg addTarget:self action:@selector(rgergValueChanged:) forControlEvents:UIControlEventValueChanged];
	}
	return _rgerg;
}

- (UIActivityIndicatorView *)gergre {
	if (!_gergre) {
		_gergre = [[UIActivityIndicatorView alloc] init];
		[_gergre setTag:23];
	}
	return _gergre;
}

@end
